import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import ElementPlus from 'element-plus';
import 'element-plus/theme-chalk/index.css';
import '@/assets/scss/common/element.scss';
import '@/assets/scss/common/bootstrap.scss';
import '@/assets/scss/common/global.scss';
import {
	Edit,
	RefreshRight,
	ArrowDown,
	ArrowUp,
	Plus,
	Refresh,
	Delete,
	Search,
	Download
} from '@element-plus/icons-vue';

const app = createApp(App);
app.use(store);
app.use(router);

app.use(ElementPlus);
app.component('ElIconEdit', Edit);
app.component('ElIconRefreshRight', RefreshRight);
app.component('ElIconArrowDown', ArrowDown);
app.component('ElIconArrowUp', ArrowUp);
app.component('ElIconPlus', Plus);
app.component('ElIconRefresh', Refresh);
app.component('ElIconDelete', Delete);
app.component('ElIconSearch', Search);
app.component('ElIconDownload', Download);
app.mount('#app');
